package com.example.sh.shrio.service.Serviceimpli;

import com.example.sh.shrio.mapper.Usermapp;
import com.example.sh.shrio.modle.User;
import com.example.sh.shrio.service.Userservice;
import org.springframework.beans.factory.annotation.Autowired;

public class Userviceimpl implements Userservice {

    @Autowired
    Usermapp op;

    @Override
    public User finduser(String name) {
   return op.findByname(name);
    }
}


